package com.boss.salary.dao;

import com.boss.framework.dto.PaginationDTO;
import com.boss.salary.entity.SalPostGradeLevel;

import java.util.List;
import java.util.Map;

public interface ISalPostGradeLevelDao {

    /**
     * 分页数据
     *
     * @param paginationDTO 分页条件
     * @return
     */
    List<Map<String, Object>> querySalPostGradeLevelPage(PaginationDTO paginationDTO, Map<String, Object> queryParam);

    /**
     * 全部数据
     *
     * @param queryParam 分页条件
     * @return
     */
    List<Map<String, Object>> querySalPostGradeLevelAll(Map<String, Object> queryParam);

    /**
     * 根据code查询
     * @param code
     * @return
     */
    int queryDataByCode(String type, String code);

    /**
     * 获取数据量
     *
     * @return
     */
    int querySalPostGradeLevelCount(Map<String, Object> queryParam);

    /**
     * 新增
     *
     * @param salPostGradeLevel
     */
    void insertSalPostGradeLevel(SalPostGradeLevel salPostGradeLevel);

    /**
     * 修改
     *
     * @param salPostGradeLevel
     */
    void updateSalPostGradeLevel(SalPostGradeLevel salPostGradeLevel);

    /**
     * 根据id删除
     *
     * @param id
     */
    void deleteSalPostGradeLevel(String id);

}
